.l{
    float:left;
}
.r{
    float:right;
}
.cl{
    clear: both;
}
#ultBody{
    cursor: url(../img/resource/cur.png), auto;
    color: #fff; background-color: #333;
    font-family: sans-serif;
}
#ultFPS, #log{
    position: fixed;
    color: #000;
    z-index: 99;
    right: 0;
    top: 0;
    color: #fff;
    font-size: 12px;
    line-height: 24px;
    cursor: url(../img/resource/cur.png), pointer;
}
#log{
    right: 70px;
}
body{
    margin: 0;
    padding: 0;
}
#fsbutton{
    float: left;
    font-size: 10px;
    margin: 2px;
    margin-left: 10px;
    cursor: url(../img/resource/cur.png), pointer;
}
#exitRoom{
    float: left; 
    font-size: 10px;
    margin: 2px;
    cursor: url(../img/resource/cur.png), pointer;
}
#gameCanvas{
    display: block;
}
#mouseCanvas{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}
#controlPanel{
    width: 100%;
    width: 100%;
    overflow: hidden;
    height: 150px;
    position: absolute;
    bottom: 0px;
    left: 0;
    text-align: center;
}
#controlPanel .map{
    width: 150px;
    height: 150px;
    background-color: #aaa;
    background-image: url(../img/resource/example7.png);
    background-color: #333;
    /*border-top: 2px solid #222;*/
    box-shadow: 1px -1px 1px #333;
    margin-top: 0px;
}
#controlPanel .all{
    width: 507px;
    height: 110px;
    margin-top: 40px;
    background-color: #333;
    border-top: 2px solid #222;
    box-shadow: 0 -1px 1px #333;
    font-size: 12px;
}
#controlPanel .all .img{
    width: 130px;
    height: 70px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin: 3px;
}
#controlPanel .all .hp{
    background-color: #111;
    height: 14px;
    width: 130px;
    margin:  0 3px;
    border-radius: 3px;
    border-left: 1px solid #25C648; 
    border-right: 1px solid #25C648; 
}
#controlPanel .all .hp .percent{
    height: 14px;
    background: linear-gradient(to bottom, rgba(34,124,24,0) 0%,rgba(34,124,24,0.8) 15%,rgba(34,124,24,1) 19%,rgba(34,124,24,1) 20%,rgba(37,198,72,1) 50%,rgba(29,117,23,1) 80%,rgba(29,117,23,1) 81%,rgba(29,117,23,0.8) 85%,rgba(29,117,23,0) 100%);
}
#controlPanel .all .hp .value{
    position: relative;
    color: #fff;
    font-size: 11px;
    line-height: 14px;
    margin-top: -14px;
}
#controlPanel .all .mp{
    background-color: #111;
    height: 14px;
    width: 130px;
    margin:  2px 3px 0 3px ;
    border-left: 1px solid #269BC9; 
    border-right: 1px solid #269BC9; 
}
#controlPanel .all .mp .percent{
    height: 14px;
    background: linear-gradient(to bottom, rgba(30,87,153,0) 0%,rgba(30,87,153,0.8) 15%,rgba(30,87,153,1) 19%,rgba(30,87,153,1) 20%,rgba(41,137,216,1) 50%,rgba(30,87,153,1) 80%,rgba(30,87,153,1) 81%,rgba(30,87,153,0.8) 85%,rgba(30,87,153,0) 100%);
}
#controlPanel .all .mp .value{
    position: relative;
    color: #fff;
    font-size: 11px;
    line-height: 14px;
    margin-top: -14px;
}

#controlPanel .skill{
    width: 166px;
    height: 120px;
    margin-top: 30px;
    background-color: #333;
    border: 2px solid #222;
    box-shadow: 0 -1px 1px #222;
}
.page{
    display: none;
}
.bhero{
    margin: 3px;
    float: left;
    background-color: #222;
    box-shadow: 0 0 5px #000;
}
.bhero .img{   
    width: 128px;
    height: 72px;
    background-size: 100% auto;
}
.bhero .name{
    line-height: 20px;
    text-align: center;
    font-size: 12px;
}
.bteam {
    -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
    background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    background-color:#ededed;
    -webkit-border-top-left-radius:6px;
    -moz-border-radius-topleft:6px;
    border-top-left-radius:6px;
    -webkit-border-top-right-radius:6px;
    -moz-border-radius-topright:6px;
    border-top-right-radius:6px;
    -webkit-border-bottom-right-radius:6px;
    -moz-border-radius-bottomright:6px;
    border-bottom-right-radius:6px;
    -webkit-border-bottom-left-radius:6px;
    -moz-border-radius-bottomleft:6px;
    border-bottom-left-radius:6px;
    text-indent:0;
    border:1px solid #dcdcdc;
    display:inline-block;
    color:#777777;
    font-family:Arial;
    font-size:15px;
    font-weight:bold;
    font-style:normal;
    height:50px;
    line-height:50px;
    width:100px;
    text-decoration:none;
    text-align:center;
    text-shadow:1px 1px 0px #ffffff;
}
.bteam:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
    background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    background-color:#dfdfdf;
}
.bteam:active {
    position:relative;
    top:1px;
}
.bhero.selected{
    box-shadow: 0  0 10px rgb(224, 255, 186);
    background-color: rgb(110, 128, 94);
}
.bteam.selected{
    color: #25C648;
    outline: none;

}
#menuPanel{
    position: absolute;
    left: 0;
    top: 0;
    height: 24px;
    width: 100%;
    background-color: #333;
    border-bottom: solid 2px #222;
    box-shadow: 0 1px 1px #333;
    font-size: 12px;
}
#panelHeroes{
    position: absolute;
    left: 50%;
    width: 500px;
    margin-left: -250px;
}
#panelHeroes .winHero{
    width: 40px;
    height: 21px;
    margin: 2px 1px 2px  0px;
    background-color: #111;
    float: left;
    background-size: 100% auto;
}
#panelHeroes .winTimer{
    width: 40px;
    height: 24px;
    background-color: #222;
    float: left;
    line-height: 24px; text-align: center;
}
#initWindow{
    position: absolute;
    left: 50%;
    width: 150px;
    top: 50%;
    margin-left: -100px;
    margin-top: -50px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
    padding: 25px;
    box-shadow: 0 0 6px #000;
    display: none;
}